package design.action.command;

/**
 * @author zxs
 * @since 2020/05/26
 */
public class HelloCommand extends AbstractCommand {

    public HelloCommand(Receiver receiver) {
        super(receiver);
    }

    @Override
    public void execute() {
        System.out.println("hello command");
        getReceiver().doSomething(getParam());
    }
}
